
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int scoure1 = 0;
	int scoure2 = 0;
	int scoure3 = 0;
	float sum = 0.0;
	float x = 0.0;
	scanf("%d %d %d", &scoure1, &scoure2, &scoure3);
	sum = (float)scoure1 + scoure2 + scoure3;
	x = sum / 3.0;
	printf("%.2f %.2f", sum, x);
	return 0;
}
